#!/bin/bash
echo "删除旧固件..."
cd C:/Users/lvjinhui/Downloads/MyWebServer_DownZa.Cn/MyWebServer/web/bin
rm ./firmware.bin
echo "复制固件..."
cp C:/Users/lvjinhui/Documents/PlatformIO/Projects/esp32-mqtt/.pio/build/adafruit_qtpy_esp32c3/firmware.bin C:/Users/lvjinhui/Downloads/MyWebServer_DownZa.Cn/MyWebServer/web/bin/firmware.bin
echo "完成！"